package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ykdl.member.kid.models.FileMetas;

import net.wxxr.http.interfaces.IJsonParser;

public class Actor_InfoBean implements Serializable,IJsonParser{

	/**
	 *  "actor_info": {
        "display_name": "single",
        "favorite_store": 1,
        "gender": 1,
        "sign": "45度仰望天空，看到一片“翔云”",
        "birthday": "2008-01-11 05:19:59",
        "avatar": {
            "download_urls": {
                "origin": {
                    "url": "http://imgs.ykdllmyr.com/avatars/2014/10/21/JGLntUpTpccZ29L4iNX8mH.png",
                    "width": 360,
                    "height": 480
                },
                "small": {
                    "url": "http://imgs.ykdllmyr.com/avatars/2014/10/21/JGLntUpTpccZ29L4iNX8mH.png@1e_200w_200h_0c_0i_1o_70Q_1x.jpg",
                    "width": 150,
                    "height": 200
                },
                "middle": {
                    "url": "http://imgs.ykdllmyr.com/avatars/2014/10/21/JGLntUpTpccZ29L4iNX8mH.png@1e_400w_400h_0c_0i_1o_70Q_1x.jpg",
                    "width": 300,
                    "height": 400
                },
                "big": {
                    "url": "http://imgs.ykdllmyr.com/avatars/2014/10/21/JGLntUpTpccZ29L4iNX8mH.png@1e_640w_640h_0c_0i_1o_70Q_1x.jpg",
                    "width": 360,
                    "height": 480
                }
            },
            "file_name": null,
            "is_image": true,
            "file_id": 43,
            "mime_type": "image/png"
        },
        "address": "北京市海淀区"
    }
	 */
	private static final long serialVersionUID = 1L;
	private String display_name;
	private String favorite_store;
	private String gender;
	private String sign;
	private String birthday;
	private String due_date;
	private String user_birthday;
	private int status;
	private FileMetas avatar;
	private String address;
	private String desc ;
	private String error ;
	private FileBean avatar_info;
	public String getDue_date() {
		return due_date;
	}
	public String getUser_birthday() {
		return user_birthday;
	}
	public int getStatus() {
		return status;
	}
	public FileBean getAvatar_info() {
		return avatar_info;
	}
	public String getDesc() {
		return desc;
	}
	public String getError() {
		return error;
	}
	public String getDisplay_name() {
		return display_name;
	}
	public String getFavorite_store() {
		return favorite_store;
	}
	public String getGender() {
		return gender;
	}
	public String getSign() {
		return sign;
	}
	public String getBirthday() {
		return birthday;
	}
	public FileMetas getAvatar() {
		return avatar;
	}
	public String getAddress() {
		return address;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		if (json != null) {
			GsonBuilder builder = new GsonBuilder();
			Gson gson = builder.create();
			return gson.fromJson(json, Actor_InfoBean.class);
		}
		return null;
	}

}
